package com.tensquare.friend.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @description
 * @author: xu1
 **/
@FeignClient("tensquare-user")
public interface UserClient {

    @RequestMapping(value="/user/{x}/{userid}/{friendid}",method = RequestMethod.PUT)
    public void addfanscountandfollowcount(@PathVariable("x") int x, @PathVariable("userid") String userid, @PathVariable("friendid") String friendid);

}
